package com.javalab.recorder.event;

import java.awt.Window;

public class BaseActionEvent<SourceType, CommandType> implements ActionEvent<SourceType, CommandType, Window> {

	private SourceType source;

	private CommandType command;

	private Window parent;

	@Override
	public SourceType getSource() {
		return source;
	}

	@Override
	public void setSource(SourceType source) {
		this.source = source;
	}

	@Override
	public CommandType getCommand() {
		return command;
	}

	@Override
	public void setCommand(CommandType command) {
		this.command = command;
	}

	@Override
	public Window getParent() {
		return parent;
	}

	@Override
	public void setParent(Window parent) {
		this.parent = parent;
	}
}
